package com.xueqi.bean;

import javax.xml.crypto.Data;
import java.util.Date;
//多方：要定义一方的一个对象
public class EbookEntry {
    private Integer id;
    private Integer categoryid;
    private  String title;
    private  String summary;
    private  String uploaduser;
    private Date createdate;

    public EbookEntry() {
    }

    public EbookEntry(Integer id, Integer categoryid, String title, String summary, String uploaduser, Date createdate, EbookCategory type) {
        this.id = id;
        this.categoryid = categoryid;
        this.title = title;
        this.summary = summary;
        this.uploaduser = uploaduser;
        this.createdate = createdate;
        this.type = type;
    }

    public EbookCategory getType() {
        return type;
    }

    public void setType(EbookCategory type) {
        this.type = type;
    }

    private  EbookCategory type;
    //一方对象

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCategoryid() {
        return categoryid;
    }

    public void setCategoryid(Integer categoryid) {
        this.categoryid = categoryid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getUploaduser() {
        return uploaduser;
    }

    public void setUploaduser(String uploaduser) {
        this.uploaduser = uploaduser;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
